package com.wyp168.serviceedu.entity.subjecet;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;


/**
 * 一级分类 pojo
 */
@Data
public class OneLevelSubject {
    private String id;
    private String title;
    //一级分类可能有多个二级分类，使用集合存储
    List<TwoLevelSubject> children = new ArrayList<>();
}
